# Contributor: Anjandev Momi <anjan@momi.ca>
# Maintainer: Anjandev Momi <anjan@momi.ca>
pkgname=mimeo
pkgver=2023
pkgrel=1
pkgdesc="Open files by MIME-type or file name using regular expressions"
url="https://xyne.dev/projects/mimeo/"
arch="noarch"
license="GPL-3.0-or-later"
depends="python3 py3-xdg file shared-mime-info"
makedepends="py3-setuptools"
subpackages="$pkgname-pyc"
source="https://xyne.dev/projects/mimeo/src/mimeo-$pkgver.tar.xz"
options="!check" # no upstream checks

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --skip-build --root="$pkgdir"
}

sha512sums="
700c0cc79ee4a37aceeaddf1370112b65ea7506f6740c3be7339d53787d419046f3086304bd4f97a13c11e81d0bc0973cd3542ef70ab888f4f6c01808bb00d30  mimeo-2023.tar.xz
"
